<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
    <head>
        <th:block th:include="include::header('安全奖品库存记录')" />
    </head>
    <style>
        #febs-baseGoodsInventoryRecord .layui-table-body .layui-table-cell{
            height: 75px;
            line-height: 60px;
        }
    </style>

    <body class="febs-container" id="febs-baseGoodsInventoryRecord">
    <div class="febs-body layui-fluid" lay-title="安全奖品库存记录">
        <div class="febs-body-search">
            <form class="layui-form layui-table-form" lay-filter="baseGoodsInventoryRecord-table-form" id="baseGoodsInventoryRecord-table-form">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div class="layui-form-item">
                            <div class="layui-inline" id="post-tenant" th:classappend="${hasHeadCompanyRole } ? '' : 'febs-hide'">
                                <label class="layui-form-label layui-form-label-sm">公司名称</label>
                                <div class="layui-input-inline" >
                                    <select name="tenantId" id="tenantId" lay-search="">
                                        <option th:each="item:${tenantList }"
                                                th:value="${item.tenantId}" th:text="${item.tenantName}"
                                                th:selected="${tenantId ==item.tenantId}">
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label layui-form-label-sm">奖品名称</label>
                                <div class="layui-input-inline" style="width:190px;">
                                    <input type="text" name="goodsName" autocomplete="off" class="layui-input">
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label layui-form-label-sm">类型</label>
                                <div class="layui-input-inline" style="width:190px;">
                                    <select name="operateType">
                                        <option value="">请选择</option>
                                        <option value="0">入库</option>
                                        <option value="1">出库</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">日期范围</label>
                                <div class="layui-inline" id="laydate-range">
                                    <div class="layui-input-inline">
                                        <input type="text" name="startDate" autocomplete="off" id="start-date" lay-verify="date"
                                               class="layui-input" placeholder="开始日期">
                                    </div>
                                    <div class="layui-form-mid">-</div>
                                    <div class="layui-input-inline">
                                        <input type="text" name="endDate" autocomplete="off" id="end-date" lay-verify="date"
                                               class="layui-input" placeholder="结束日期">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <div id="query" class="layui-btn">
                                    <em class="layui-icon">&#xe615;</em> 查询
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="febs-table-full">
            <table lay-filter="baseGoodsInventoryRecordTable" lay-data="{id: 'baseGoodsInventoryRecordTable'}"></table>
        </div>
        <div class ="big-img-div" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:1002;width:100%;height:100%;display:none;">
            <div style="position:absolute;">
                <img style="border:5px solid #fff;" src="">
            </div>
        </div>
    </div>
    <script type="text/html" id="baseGoodsInventoryRecord-toolbar">
        <div lay-event="addIuPut" class="layui-btn layui-btn-sm" shiro:hasPermission="baseGoodsInventoryRecord:add">
            <em class="layui-icon">&#xe654;</em> 入库
        </div>
        <div lay-event="addOutPut" class="layui-btn layui-btn-sm" shiro:hasPermission="baseGoodsInventoryRecord:add">
            <em class="layui-icon">&#xe654;</em> 出库
        </div>
    </script>
    <th:block th:include="include::foot" />
    <script th:src="@{/febs/js/base/baseGoodsInventoryRecord/baseGoodsInventoryRecordList.js(v=1)}"></script>
    </body>


</html>